define(["jquery","text!modules/order/order.html","css!modules/order/order.css"],function($,html){
	function render(){
		$("body").empty();
		$("body").append(html);	
		$(".order_header li").on('touchstart',function(){
			var index=$(this).index();
			$(".order_header li a").removeAttr("class","order_header_a");
			$(".order_empty li").css("display","none");
			$(".order_empty li").eq(index).css("display","block");
			$(".order_header li a").eq(index).attr("class","order_header_a");		
		})	

	}
	return{
		render:render
	}
})